package cn.daqisoft.util;

public class WebSocket {

    private WebSocketClient webSocket;
    private String channel;

    public WebSocket(WebSocketClient webSocket, String channel) {
        this.webSocket = webSocket;
        this.channel = channel;
    }

    public WebSocketClient getWebSocket() {
        return webSocket;
    }

    public void setWebSocket(WebSocketClient webSocket) {
        this.webSocket = webSocket;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    @Override
    public String toString() {
        return "UserSocket{" +
                "channel=" + channel +
                ", webSocket=" + webSocket +
                '}';
    }

}
